//
// Created by work on 24-6-6.
//

#include "iot_model_device/CRtModelSigBase.h"

namespace iotplat {
    std::map<CRtModelSigBase::EBaseSigCol, std::string> CRtModelSigBase::baseSigColToStringMap = {
            {CRtModelSigBase::EModel_name, "model_name"},
            {CRtModelSigBase::EUser,"userid"},
            {CRtModelSigBase::EName,"name"},
            {CRtModelSigBase::EDescr,"descr"},
            {CRtModelSigBase::ESn,"sn"},
            {CRtModelSigBase::EGrouping,"groupings"},
            {CRtModelSigBase::EConfigs,"configs"}
    };

    std::map<CRtModelSigBase::EBaseSigCol, CValue::EValueType> CRtModelSigBase::baseSigDataTypeByField = {
            {CRtModelSigBase::EModel_name, CValue::IOT_String},
            {CRtModelSigBase::EUser,CValue::IOT_String},
            {CRtModelSigBase::EName,CValue::IOT_String},
            {CRtModelSigBase::EDescr,CValue::IOT_String},
            {CRtModelSigBase::ESn,CValue::IOT_Int},
            {CRtModelSigBase::EGrouping,CValue::IOT_String},
            {CRtModelSigBase::EConfigs,CValue::IOT_Json}
    };
    
    CRtModelSigBase::CRtModelSigBase()
    {

    }
} // iotplat